    <div class="container">
      <div class="row">
        <div class="col-lg-10 col-lg-offset-1 margintop50">
          <!-- <div class="row">
            <div class="col-md-8">dfas</div>
            <div class="col-md-4">
              <div class="bg-putih">
                <form>
                  <div class="form-group">
                    <label for="exampleInputEmail1">Username</label>
                    <input type="text" class="form-control input-sm" placeholder="Enter Username">
                  </div>
                  <div class="form-group">
                    <label for="exampleInputPassword1">Password</label>
                    <input type="password" class="form-control input-sm" placeholder="Enter Password">
                  </div>
                  <div class="checkbox">
                    <label>
                      <input type="checkbox"> Remember Me
                    </label>
                  </div>
                  <button type="submit" class="btn btn-warning full-width">Login</button>
                </form>
              </div>
              
            </div>
          </div> -->

          <div class="row">
            
            <div class="col-md-8 single">
              <h1>Pendaftaran</h1>
              <?php echo form_open('simpan-pendaftaran', array('role' => 'form', 'class' => 'form-horizontal'));?>
                <?php
                if($kategori == 'Pengendara'){
                ?>
                <div class="form-group">
                  <label class="col-sm-3 control-label">Nama Lengkap</label>
                  <div class="col-sm-9">
                    <input type="text" name="nama_lengkap" class="form-control input-sm" placeholder="Nama Lengkap">
                    <input type="hidden" name="kategori" value="<?php echo $kategori ?>" class="form-control input-sm">
                  </div>
                </div>
                <div class="form-group">
                  <label class="col-sm-3 control-label">Nama Panggilan</label>
                  <div class="col-sm-9">
                    <input type="text" name="nama_panggilan" class="form-control input-sm" placeholder="Nama Panggilan">
                  </div>
                </div>
                <div class="form-group">
                  <label class="col-sm-3 control-label">Kota Asal</label>
                  <div class="col-sm-9">
                      <select name="id_asal" class="form-control input-sm">
                        <?php
                          if(isset($kota)){
                            foreach ($kota as $val) {
                              echo "<option value='".$val['id_kota']."'>$val[nama_kota]</option>";
                            }
                          }
                        ?>
                      </select>
                  </div>
                </div>
                <div class="form-group">
                  <label class="col-sm-3 control-label">Koordinat</label>
                  <div class="col-sm-9">
                    <input type="text" name="koordinat" class="form-control input-sm" placeholder="Koordinat">
                  </div>
                </div>
                <div class="form-group">
                  <label class="col-sm-3 control-label">Rute</label>
                  <div class="col-sm-9">
                    <input type="text" name="rute" class="form-control input-sm" placeholder="Rute">
                  </div>
                </div>
                <div class="form-group">
                  <label class="col-sm-3 control-label">Jam Berangkat</label>
                  <div class="col-sm-9">
                    <input type="text" name="jam" class="form-control input-sm" placeholder="Jam Berangkat">
                  </div>
                </div>
                <div class="form-group">
                  <label class="col-sm-3 control-label">Nomer Plat</label>
                  <div class="col-sm-9">
                    <input type="text" name="plat" class="form-control input-sm" placeholder="Nomer Plat">
                  </div>
                </div>
                <div class="form-group">
                  <label class="col-sm-3 control-label">Jenis Kendaraan</label>
                  <div class="col-sm-9">
                      <select name="jenis_kendaraan" class="form-control input-sm">
                        <?php
                          if(isset($jenis_kendaraan)){
                            foreach ($jenis_kendaraan as $val) {
                              echo "<option value='".$val['id_jenis']."'>$val[jenis_kendaraan]</option>";
                            }
                          }
                        ?>
                      </select>
                  </div>
                </div>
                <div class="form-group">
                  <label class="col-sm-3 control-label">Kapasitas</label>
                  <div class="col-sm-9">
                    <input type="text" name="kapasitas" class="form-control input-sm" placeholder="Kapasitas">
                  </div>
                </div>
                <div class="form-group">
                  <label class="col-sm-3 control-label">Password</label>
                  <div class="col-sm-9">
                    <input type="password" name="password" class="form-control input-sm" placeholder="Password">
                  </div>
                </div>
                <div class="form-group">
                  <label class="col-sm-3 control-label">Ulangi Password</label>
                  <div class="col-sm-9">
                    <input type="password" name="re_password" class="form-control input-sm" placeholder="Ulangi Password">
                  </div>
                </div>
                <?php
                }else{
                ?>
                  <div class="form-group">
                    <label class="col-sm-3 control-label">Nama Lengkap</label>
                    <div class="col-sm-9">
                      <input type="text" name="nama_lengkap" class="form-control input-sm" placeholder="Nama Lengkap">
                      <input type="text" name="kategori" value="<?php echo $kategori ?>" class="form-control input-sm">
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="col-sm-3 control-label">Nama Panggilan</label>
                    <div class="col-sm-9">
                      <input type="text" name="nama_panggilan" class="form-control input-sm" placeholder="Nama Panggilan">
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="col-sm-3 control-label">Alamat</label>
                    <div class="col-sm-9">
                      <input type="text" name="alamat" class="form-control input-sm" placeholder="Alamat">
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="col-sm-3 control-label">Email</label>
                    <div class="col-sm-9">
                      <input type="text" name="email" class="form-control input-sm" placeholder="Email">
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="col-sm-3 control-label">Kota Asal</label>
                    <div class="col-sm-9">
                        <select name="id_asal" class="form-control input-sm">
                          <?php
                            if(isset($kota)){
                              foreach ($kota as $val) {
                                echo "<option value='".$val['id_kota']."'>$val[nama_kota]</option>";
                              }
                            }
                          ?>
                        </select>
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="col-sm-3 control-label">Koordinat</label>
                    <div class="col-sm-9">
                      <input type="text" name="koordinat" class="form-control input-sm" placeholder="Koordinat">
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="col-sm-3 control-label">Password</label>
                    <div class="col-sm-9">
                      <input type="password" name="password" class="form-control input-sm" placeholder="Password">
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="col-sm-3 control-label">Ulangi Password</label>
                    <div class="col-sm-9">
                      <input type="password" name="re_password" class="form-control input-sm" placeholder="Ulangi Password">
                    </div>
                  </div>
                <?php
                }
                ?>
                <div class="form-group">
                  <div class="col-sm-offset-3 col-sm-9">
                    <button type="submit" class="btn btn-primary btn-sm">Simpan</button>
                    <button type="reset" class="btn btn-danger btn-sm">Reset</button>
                  </div>
                </div>
              <?php echo form_close();?>
            </div>
            <div class="col-md-4">
              <div class="bg-putih-nopadding">
                <!-- judul -->
                <div class="judul-col-orange">
                  PENGALAMAN ANDA
                  <div class="clearfix"></div>
                </div>
                <!-- end judul -->
                <?php
                foreach ($pengalaman as $val) {
                ?>
                <div class="media padding10">
                  <div class="media-left img-left">
                    <a href="#" >
                      <img class="media-object img-circle" src="<?php echo base_url("uploads/user/$val[foto]") ?>" alt="<?php echo $val['nama']; ?>">
                    </a>
                  </div>
                  <div class="media-body">
                    <h5 class="media-heading heading-col"><?php echo $val['nama']; ?></h5>
                    <?php echo substr(strip_tags($val['pengalaman']),0,50)."..."; ?>
                  </div>
                  <div class="clearfix"></div>
                </div>
                <div class="divider"></div>
                <?php
                }
                ?>
                <!-- col-footer -->
                <div class="footer-col"><a href="#">Lihat Semua</a></div>
                <!-- end col-footer -->
              </div>
            </div>
          </div>

          
        </div>
      </div>

    </div> <!-- /container -->